package com.mnsk.generator.common.copycat.annotaion;

import com.mnsk.generator.common.copycat.enums.ColumnNamingStrategy;

import java.lang.annotation.*;

/**
 * 大于(>) 条件注解
 *
 * @author admin
 * @date 2020-05-12 00:00:00
 */
@Documented
@CriteriaQuery
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Gt {

    /**
     * 自定义的属性值
     */
    String alias() default "";

    /**
     * 默认下划线
     *
     * @return ColumnNamingStrategy
     */
    ColumnNamingStrategy naming() default ColumnNamingStrategy.LOWER_CASE_UNDER_LINE;

}
